package com.xiaoq.parking.service;

import java.util.List;

import com.xiaoq.parking.entity.ParkingRecordEntity;

public interface IParkingRecordService {
	
	public ParkingRecordEntity addParkingRecord(ParkingRecordEntity parkingRecord);
	
	/**
	 * 修改一条停车记录
	 * @param parkingRecord
	 * @return
	 */
	public ParkingRecordEntity updateParkingRecord(ParkingRecordEntity parkingRecord);
	
	
	public boolean deleteParkingRecord(String parkingRecId);
	
	/**
	 * 获取个人中心停车记录
	 * @param userId
	 * @return
	 */
	public List<ParkingRecordEntity> parkingRecordList(String userId);
	
	public ParkingRecordEntity parkingRecordDetail(String id);

}
